# @Author：silence
# @Email：792245022@qq.com
# @Date：2025/1/2 22:22

a = 10
b = 80

max_num = a if a > b else b
print(f"max = {max_num}")

a = 25
b = 20
c = 30
# 求出三个数的最大值
max_num = a if a > b else b
max_num = max_num if max_num > c else c
print(f"max = {max_num}")